import React, { Component } from 'react'
import '../assets/css/layout.css'
import {BrowserRouter as Router,Route} from 'react-router-dom'
import Wenzhang from './wenzhang'
import WithRouterTest from './WithRouterTest'
import Home from './home'
import About from './about'
export default class LayoutQt extends Component {
    render() {
        return (
            <div>
                <Router>
                    <Route path='/wenzhang/' component={Wenzhang}></Route>
                    <Route path='/home/' component={Home}></Route>
                    <Route path='/about/' component={About}></Route>
                    {<Route path='/testwithR/' component={WithRouterTest}></Route>}
                </Router>
            </div>
        )
    }
}
